package com.wzk.travelspringboot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzk.travelspringboot.entity.BlogLike;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/17 21:57
 */
public interface BlogLikeDAO extends BaseMapper<BlogLike> {

    int deleteBlogLike(@Param("blogId") long blogId,@Param("userId") long userId);

    List<BlogLike> queryAll();

}
